package com.mb.app.task;


import com.mb.app.service.IAppChannelPvUvService;
import lombok.extern.slf4j.Slf4j;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 应用渠道PVUV跑批任务
 *
 * @author zwl
 * @create 2019-03-27 10:01 AM
 **/
@Component
@Slf4j
public class AppChannelPvUvJob implements Job {

    @Autowired
    private IAppChannelPvUvService appChannelPvUvService;

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        log.info("AppChannelPvUvJob execute ...");
        appChannelPvUvService.runReport();
    }
}
